package com.eflow.engine.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.eflow.engine.mapper.EflowBytearrayMapper;
import com.eflow.model.domain.EflowBytearray;
import com.eflow.engine.service.IEflowBytearrayService;

/**
 * 数据Service业务层处理
 *
 * @author eflow
 * @date 2021-02-09
 */
public class EflowBytearrayServiceImpl extends ServiceImpl<EflowBytearrayMapper,EflowBytearray>  implements IEflowBytearrayService
{


    /**
     * 查询数据
     *
     * @param id 数据ID
     * @return 数据
     */
    @Override
    public EflowBytearray selectEflowBytearrayById(String id)
    {
        return baseMapper.selectEflowBytearrayById(id);
    }

    /**
     * 查询数据列表
     *
     * @param eflowBytearray 数据
     * @return 数据
     */
    @Override
    public List<EflowBytearray> selectEflowBytearrayList(EflowBytearray eflowBytearray)
    {
        return baseMapper.selectEflowBytearrayList(eflowBytearray);
    }

    /**
     * 新增数据
     *
     * @param eflowBytearray 数据
     * @return 结果
     */
    @Override
    public int insertEflowBytearray(EflowBytearray eflowBytearray)
    {
        return baseMapper.insertEflowBytearray(eflowBytearray);
    }

    /**
     * 修改数据
     *
     * @param eflowBytearray 数据
     * @return 结果
     */
    @Override
    public int updateEflowBytearray(EflowBytearray eflowBytearray)
    {
        return baseMapper.updateEflowBytearray(eflowBytearray);
    }

    /**
     * 批量删除数据
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deleteEflowBytearrayByIds(String[] ids)
    {
        return baseMapper.deleteEflowBytearrayByIds(ids);
    }

    /**
     * 删除数据信息
     *
     * @param id 数据ID
     * @return 结果
     */
    @Override
    public int deleteEflowBytearrayById(String id)
    {
        return baseMapper.deleteEflowBytearrayById(id);
    }
}
